<LayoutBaseBox>
    <template slot="main">
        <LayoutEditFormBox :loading="load">
            <template slot="main">

                <el-form ref="editForm" :model="form" label-width="200px" label-position="left">

                    <LayoutCell>
                        <LayoutCellItem title="基础">


                            <el-form-item label="AppID" prop="appId" :rules="{ required: true, message: '请输入 AppID'}">
                                <el-input v-model="form.appId" maxlength="30"></el-input>
                            </el-form-item>
                            <el-form-item label="AppSecret" prop="appSecret" :rules="{ required: true, message: '请输入'}">
                                <el-input v-model="form.appSecret" maxlength="50">
                                </el-input>
                            </el-form-item>


                            <el-form-item label="是否开启" prop="isOpen" :rules="{ required: true, message: '请选择'}">

                                <el-switch v-model="form.isOpen" :active-value="1" :inactive-value="0">
                                </el-switch>
                            </el-form-item>




                        </LayoutCellItem>



                    </LayoutCell>


                </el-form>
            </template>
            <template slot="footer">
                <el-button type="primary" @click="submit()">保存</el-button>
            </template>
        </LayoutEditFormBox>


    </template>
</LayoutBaseBox>